﻿namespace Mongo.Console
{
    #region

    using System.Collections.Generic;
    using System.Linq;
    using Core.Models;
    using Core.Repository;

    #endregion

    internal class Program
    {
        private static void Main(string[] args)
        {
            var userRepository = new UserRepository();
            int test = userRepository.All.Count();
            User result = userRepository.All.FirstOrDefault(user => user.name == "Ryan");
            List<User> result2 = userRepository.All.Where(user => user.focus > 1).ToList();
        }
    }
}
